package multiplex;

public class Orc extends Villain{
	private int orcNumber;
	public Orc(String name ,int orcNumber) {
		super(name);
		this.orcNumber = orcNumber;
	}
	public void change (String name ,int orcNumber) {
		set(name);
		this.orcNumber=orcNumber;
	}
	@Override
	public String toString() {
		return "orc "+orcNumber +" :"+super.toString();
	}
	public static void main(String[] args) {
		Orc orc  = new Orc("Line",2);
		System.out.println(orc);
		orc.change("Bob",19);
		System.out.println(orc);
		
	}
}
